<%@ page title="" language="C#" masterpagefile="~/RealtimeSite.master" autoeventwireup="true" inherits="LogManager, App_Web_pwjjhxl1" %>

<%@ Register   Assembly="AjaxControlToolkit"
    Namespace="AjaxControlToolkit"
    TagPrefix="AjaxControlToolkit" %>
    <%@ Register   Assembly="AjaxControlToolkit"
    Namespace="AjaxControlToolkit"
    TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
  

    <br />
    <br />
    <br />
     <div class="row">

      <asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Always">
            <ContentTemplate>
        <div class="col-lg-12">
                        <div class="panel panel-primary">
      
                              <div class="panel-heading">
                                <h3 class="panel-title"><i class="fa fa-edit fa-fw"></i>Connect Device </h3>
                            </div>
                               <div class="panel-body">
                               <div class="col-lg-12">
                        <div class="panel panel-primary">
      
                              <div class="panel-heading">
                                <h3 class="panel-title"><i class="fa fa-edit fa-fw"></i>Download Attendance From T71F-T36N </h3>
                            </div>
                               <div class="panel-body">
                                
        
        
        <div class="col-lg-4">
                              <b>From Date </b>
                              <asp:TextBox ID="BeginDate" runat="server" class="form-control"  />
            <cc1:CalendarExtender ID="cal1" runat="server" TargetControlID="BeginDate" Format="dd/MM/yyyy"  />
                </div>

                 <div class="col-lg-4">
                <b>To Date</b>
                      <asp:TextBox ID="EndDate" runat="server" class="form-control" 
                         
                           />
                      <cc1:CalendarExtender ID="CalendarExtender1" runat="server" Format="dd/MM/yyyy" 
                          TargetControlID="EndDate" />
                              
                              </div>


                          
         <div class="col-lg-12" style="margin-top:15px; top: 0px; left: 0px;">
							  <ol class="breadcrumb"><li><b> Device Info</b></li></ol>
							  </div>
                              <div class="col-lg-4">
                              <asp:Label ID="Label2" runat="server" Text="ID:  "></asp:Label>
        <asp:Label ID="DevID" runat="server"></asp:Label>
                              </div>
                              
                               <div class="col-lg-4">
                              </div>
                               <div class="col-lg-4">


                              </div>
                               <div class="col-lg-4">
                              <asp:Label ID="Label11" runat="server" Text="Connect Status:"></asp:Label>
        <asp:Image ID="StatusImg" runat="server" Height="20px" 
            ImageUrl="~/images/greenon.png" Width="20px" />
                              </div>
                             
 


 

                               <div class="col-lg-12" style="height:200px; overflow:scroll;">

                               <asp:GridView ID="Grid1" runat="server" class="table table-bordered table-hover table-striped" 
            Width="100%" >
                    <FooterStyle BackColor="Tan" />
                    <PagerStyle BackColor="PaleGoldenrod" ForeColor="DarkSlateBlue" 
                        HorizontalAlign="Center" />
                    <RowStyle HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="DarkSlateBlue" ForeColor="GhostWhite" />
                    <HeaderStyle BackColor="Tan" Font-Bold="True" BorderStyle="Groove" 
                        HorizontalAlign="Center" VerticalAlign="Middle" />
                    <AlternatingRowStyle BackColor="PaleGoldenrod" />
                    <Columns>
                        <asp:BoundField DataField="device_id" HeaderText="Device ID" ReadOnly="True"  
            SortExpression="device_id" />
                        <asp:BoundField DataField="user_id" HeaderText="CardNo" ReadOnly="True"  
            SortExpression="user_id" />
                        <asp:BoundField DataField="verify_mode" HeaderText="Verify Mode" ReadOnly="True"  
            SortExpression="verify_mode" />
                        <asp:BoundField DataField="io_mode" HeaderText="IO Mode" ReadOnly="True"  
            SortExpression="io_mode" />
                        <asp:BoundField DataField="io_time" HeaderText="IO Time" ReadOnly="True"  
            SortExpression="io_time" />
                    </Columns>
                    <SortedAscendingCellStyle BackColor="#FAFAE7" />
                    <SortedAscendingHeaderStyle BackColor="#DAC09E" />
                    <SortedDescendingCellStyle BackColor="#E1DB9C" />
                    <SortedDescendingHeaderStyle BackColor="#C2A47B" />
                </asp:GridView>


                          
      <asp:Panel ID="Panel5" runat="server" BorderStyle="Groove" Height="44px" 
                style="margin-top: 11px" BackColor="#FF8448">
                &nbsp;
                        <asp:Label ID="Label9" runat="server" Font-Size="Large" Text="Status"></asp:Label>
                        <br />
                &nbsp; &nbsp;&nbsp;&nbsp;
                        <asp:Label ID="StatusTxt" runat="server" ForeColor="White"></asp:Label>
                    </asp:Panel>
                    <asp:TextBox ID="mTransIdTxt" runat="server" Visible="False"></asp:TextBox>
       </div>
                             




                              </div>
                              </div>
                             </div>



    <br />
                           
                            <br />



                            </div>
                            </div>
                            </div>
                            <br />
                            <br />
                             <center>
							  <div class="col-lg-12"  style="margin-top:30px;">
							  <ol class="breadcrumb">
								
                               <%-- <asp:Button ID="btnrefreash1" runat="server" Text="Connect Device"  
        type="button" class="btn btn-success " onclick="btnrefreash_Click" Width="154px" />--%><i class="fa fa-plus;"></i>
        <asp:Button ID="Button1" runat="server" type="button" Text="Download Log"
           class="btn btn-success" onclick="Button1_Click1"
           /> 

           <asp:Button ID="Button3" runat="server" type="button" Text="Save Attendance"
           class="btn btn-success" onclick="Button3_Click" />
           <asp:Button ID="Button2" runat="server" type="button" Text="Close"
           class="btn btn-danger" onclick="Button2_Click"  />
           
           <i  class="fa fa-trash-o;"></i>

							  </ol>
							  </div>
                              </center>
                               <asp:timer ID="Timer" runat="server" Interval="1000" OnTick="Timer_Watch" 
                    Enabled="False">
                    </asp:timer>
            </ContentTemplate>
        </asp:UpdatePanel>

                            </div>
    
     <br />
                            





    </asp:Content>

